<%@ Reference Control="~/Controls/GroupBlogTabs.ascx" %>
<%@ Reference Control="~/Controls/UserMsgTabs.ascx" %>
<%@ Page language="vb" EnableViewStateMac="true" Inherits="_2bMatesSite.view_message" CodeFile="view_message.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<%@ Register tagprefix="UserMsgTabs" Tagname="UserMsgTabs" Src="Controls/UserMsgTabs.ascx" %>
<%@ Register tagprefix="GroupBlogTabs" Tagname="GroupBlogTabs" Src="Controls/GroupBlogTabs.ascx" %>
<FORM id="Form1" method="post" runat="server">
	<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" height="100%">
		<tr>
			<td colspan="3">
				<table cellspacing="0" cellpadding="0" width="100%" border="0" class="page_title" id="Table1">
					<tr>
						<td><asp:literal id="litMainPageTitle" runat="server">View Message</asp:literal></td>
						<td align="right"><asp:hyperlink id="hlRightLink" runat="server" cssclass="white_link"></asp:hyperlink></td>
					</tr>
				</table>
			</td>
		</tr>		
		<tr>
			<td valign="top" height="100%" class="main_table_border">
				<div class="content">
					<table cellSpacing="0" cellPadding="0" width="100%" border="0">
						<tr id="trUserCanceledMessage" runat=server class="hidden">
							<td align=center height="20"><asp:label id="lblErrMessageCanceled" runat=server cssclass="err_canceled_user">This member has cancelled their membership.</asp:label></td>
						</tr>	
						<UserMsgTabs:UserMsgTabs id="ucTabs" runat="server"></UserMsgTabs:UserMsgTabs>
						<GroupBlogTabs:GroupBlogTabs id="grpBlogTabs" runat="server"></GroupBlogTabs:GroupBlogTabs>											
						<tr>
							<td class="small" height="15">&nbsp;</td>
						</tr>											
						<tr>
							<td align="center" valign="top">
								<table cellSpacing="0" cellPadding="0" width="100%" border="0">
									<tr>
										<td align="center" valign="top">
											<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="message_back">																	
												<tr>
													<td valign="middle"><asp:hyperlink id="hlInboxUp" runat="server" cssclass="help" font-bold="true">&laquo; Back to inbox</asp:hyperlink></td>
													<td align="right" valign="top"><asp:hyperlink id="hlPrevMessage" runat="server" cssclass="help" font-bold="true">&laquo; Previous</asp:hyperlink>&nbsp;<asp:Label id="lblLine" runat="server" cssclass="help">|</asp:Label>&nbsp;<asp:hyperlink id="hlNextMessage" runat="server" cssclass="help" font-bold="true">Next &raquo;</asp:hyperlink></td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>														
										<td align="center" valign="top">
											<table cellSpacing="0" cellPadding="0" width="100%" border="0">
												<tr>
													<td class="small" height="5">&nbsp;</td>
												</tr>
												<tr>
													<td id="table_messages_lite" align="left"><asp:button id="btnReplyUp" runat="server" cssclass="btn" text="Reply" causesvalidation="False"
														onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnReply_Click"></asp:button>
														<asp:button id="btnForwardUp" runat="server" cssclass="btn" text="Forward" causesvalidation="False"
														onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnForward_Click"></asp:button>
														<asp:button id="btnDeleteUp" runat="server" cssclass="btn" text="Delete" causesvalidation="False"
														onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnDelete_Click"></asp:button>
													</td>
												</tr>
												<tr>
													<td class="small" height="5">&nbsp;</td>
												</tr>												
												<tr>
													<td align="center">
														<table class="table_messages" cellSpacing="1" cellPadding="0" width="100%" border="0">
															<tr>
																<td class="main_text" id="table_messages_lite" align="center" width="80"><b><asp:Label id="lblFrom" runat="server">From</asp:Label></b></td>
																<td class="main_text" id="td_white" vAlign="top"><b><asp:hyperlink id="hlFromName" runat="server" cssclass="main_text_bold"></asp:hyperlink></b>
																	<br>
																	<asp:hyperlink id="hlFromImage" runat="server" CssClass="small_image">HyperLink</asp:hyperlink><br>
																	<asp:image id="imgOnline" runat="server"></asp:image>
																</td>
															</tr>
															<tr>
																<td class="main_text" id="table_messages_lite" align="center"><b><asp:Label id="lblDate" runat="server">Date</asp:Label></b></td>
																<td class="main_text" id="td_white"><asp:literal id="litDate" runat="server"></asp:literal></td>
															</tr>
															<tr>
																<td class="main_text" id="table_messages_lite" align="center"><b><asp:label id="lblType" runat="server">Type</asp:label></b></td>
																<td class="main_text" id="td_white"><asp:image id="imgType" runat="server" imagealign="AbsMiddle"></asp:image>
																	<asp:label id="lblTypes" cssclass="main_text_bold" runat="server">Type</asp:label>
																</td>
															</tr>
															<tr>
																<td class="main_text" id="table_messages_lite" align="center"><b><asp:Label id="lblSubject" runat="server">Subject</asp:Label></b></td>
																<td class="main_text" id="td_white"><asp:literal id="litSubject" runat="server"></asp:literal></td>
															</tr>
															<tr>
																<td class="main_text" id="table_messages_lite" align="center"><b><asp:Label id="lblBody" runat="server">Body</asp:Label></b></td>
																<td class="main_text" id="td_white"><PRE WRAP STYLE="WORD-WRAP:break-word"><asp:literal id="litBody" runat="server"></asp:literal></PRE>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tr>
													<td class="small" height="4">&nbsp;</td>
												</tr>
												<tr>
													<td id="table_messages_lite" align="left"><asp:button id="btnReply" runat="server" cssclass="btn" text="Reply" causesvalidation="False"
														onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnReply_Click"></asp:button>
														<asp:button id="btnForward" runat="server" cssclass="btn" text="Forward" causesvalidation="False"
														onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnForward_Click"></asp:button>
														<asp:button id="btnDelete" runat="server" cssclass="btn" text="Delete" causesvalidation="False"
														onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnDelete_Click"></asp:button>
														<input type="hidden" name="hdnBoxType" id="hdnBoxType" runat="server">
													</td>
												</tr>
												<tr>
													<td class="small" height="5">&nbsp;</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td align="center" valign="top">
											<table cellSpacing="0" cellPadding="0" width="100%" border="0"  class="message_back">
												<tr>
													<td><asp:hyperlink id="hlInboxDown" runat="server" cssclass="help" font-bold="true">&laquo; Back to inbox</asp:hyperlink></td>
													<td align="right" valign="top">
													<asp:hyperlink id="hlPrevMessageDown" runat="server" cssclass="help" font-bold="true">&laquo; Previous</asp:hyperlink>&nbsp;<asp:Label id="lblLineDown" runat="server" cssclass="help">|</asp:Label>&nbsp;<asp:hyperlink id="hlNextMessageDown" runat="server" cssclass="help" font-bold="true">Next &raquo;</asp:hyperlink>
													&nbsp;</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
			</td>
			<!-- BEGIN SKYSCRAPER ADVERTISEMENT -->	
			<!--
			<td class="small" width="10">&nbsp;</td>
			<td class="border_adv" vAlign="top" width="203" height="100%">
				<table cellSpacing="1" cellPadding="0" width="100%" border="0">
					<tr>
						<td class="small" width="10">&nbsp;</td>
						<td class="advertisement" width="193"><asp:Literal id="litSkyscraperAdvertisement" runat=server></asp:literal></td>
					</tr>
				</table>
			</td>-->
			<!-- END SKYSCRAPER ADVERTISEMENT -->
		</tr>
	</table>
</FORM>
